package com.abhinav.designPatterns.command;

// Receiver
public class Light {
	private boolean on;

	public void swithOff() {
		on = false;		
		System.out.println("Lights Off");
	}

	public void swithOn() {
		on = true;	
		System.out.println("Lights On");
	}
}
